/**
 * 
 */
package com.gopay.common.domain.dic;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * @DicEmailUrl.java
 * @author xiefei
 * @2013-2-26 下午2:49:18  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "DIC_EMAIL_URL")
public class DicEmailUrl extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private long sqId;
    private String keyWord;
    private String emailWebUrl;
    private String emailName;
    /**
     * @return the sqId
     */
    @Id
    @SequenceGenerator(name = "DicEmailUrlSequence", sequenceName = "DIC_EMAIL_URL_SEQ")
    @GeneratedValue(generator = "DicEmailUrlSequence", strategy = GenerationType.SEQUENCE)
    @Column(name = "SQ", unique = true, nullable = false, precision = 22, scale = 0)
    public long getSqId() {
        return sqId;
    }
    /**
     * @param sqId the sqId to set
     */
    public void setSqId(long sqId) {
        this.sqId = sqId;
    }
    /**
     * @return the keyWord
     */
    @Column(name = "KEY_WORD", nullable = false, length = 50)
    public String getKeyWord() {
        return keyWord;
    }
    /**
     * @param keyWord the keyWord to set
     */
    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }
    /**
     * @return the emailWebUrl
     */
    @Column(name = "EMAIL_WEB_URL", nullable = false, length = 100)
    public String getEmailWebUrl() {
        return emailWebUrl;
    }
    /**
     * @param emailWebUrl the emailWebUrl to set
     */
    public void setEmailWebUrl(String emailWebUrl) {
        this.emailWebUrl = emailWebUrl;
    }
    /**
     * @return the emailName
     */
    @Column(name = "EMAIL_NAME", nullable = false, length = 50)
    public String getEmailName() {
        return emailName;
    }
    /**
     * @param emailName the emailName to set
     */
    public void setEmailName(String emailName) {
        this.emailName = emailName;
    }
    
    
    

}
